use "/Users/sokolins/Dropbox/Ideas/PortfolioManagersSalariesUpdated/JFQA Replication Package May 2025/Code/rep_data", clear

************************************************
***Baseline REGRESSIONS WITH FIRM-YEAR FE

//All vars
local y "skill_high_first"
local manager_vars "l_visibility  l_revenue l_manager_age l_fund_exp extra_role l_nfunds equity"
local team_vars "l_team_fund_exp l_team_size l_team_manager_age team_equity_share"


//regressions
qui reghdfe `y' `manager_vars',   absorb(firm year) cl(License year)
outreg2 using "results.tex",  dec(3) nocon replace ///
  addtext(Team Characteristics, No, Firm FE, Yes, Year FE, Yes)  ///
  
qui reghdfe `y' `manager_vars' `team_vars',  absorb(firm year) cl(License year)
outreg2 using "results.tex",  dec(3) nocon append ///
addtext(Team Characteristics, Yes, Firm FE, Yes, Year FE, Yes)  ///

local y "vis_high_first"
local manager_vars "l_visibility  l_revenue l_manager_age l_fund_exp extra_role l_nfunds equity"
local team_vars "l_team_fund_exp l_team_size l_team_manager_age team_equity_share"

qui reghdfe `y' `manager_vars',  absorb(firm year) cl(License year)
outreg2 using "results.tex",  dec(3) nocon append ///
  addtext(Team Characteristics, No, Firm FE, Yes, Year FE, Yes)  ///
  
qui reghdfe `y' `manager_vars' `team_vars',  absorb(firm year) cl(License year)
outreg2 using "results.tex",  dec(3) nocon append ///
addtext(Team Characteristics, Yes, Firm FE, Yes, Year FE, Yes)  ///



seeout using "results.txt"
*********************************************

